package club.janna.demo.service.rpc;

import club.janna.demo.api.domain.User;
import club.janna.demo.api.service.UserService;
import org.apache.dubbo.config.annotation.DubboService;

/**
 * @author Panbo.Guo
 */
@DubboService
public class UserServiceImpl implements UserService {
    @Override
    public User getById(Long id) {
        User user = new User();
        user.setId(id);
        user.setName("guopanbo" + id);
        return user;
    }
}
